package cn.edu.zut.cs.Service;

import cn.edu.zut.cs.DAO.BookDAO;
import cn.edu.zut.cs.DaoFatory;
import cn.edu.zut.cs.Model.Book;

public class BookService {

    public void insertBook(Book b) throws Exception {
        BookDAO dao = DaoFatory.getBookDao();
        dao.insert(b);
    }
}
